package com.example.carbon.dao;

import com.example.carbon.Dto.mesSave.Search;
import com.example.carbon.pojo.mesSave.MesSave;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface MesSaveDao {
    @Select("select * from mes_save")
    List<MesSave> getAllMesSaveInfo();
    boolean updateMesInfo(MesSave mesSave);
    boolean insertNewMesInfo(MesSave mesSave);
    List<MesSave> searchByKey(Search search);
    boolean deleteById(int id);
}
